<%-- 
    Document   : ohYeah
    Created on : Dec 17, 2013, 2:25:11 PM
    Author     : Administrator
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Hello World!</h1>
        Welcome ${sessionScope.USER.fullName} <br/>
        <c:if test="${sessionScope.USER.role eq 1}">
            HELLO ADMIN
        </c:if>
        <c:if test="${sessionScope.USER.role eq 0}">
            HELLO CUSTOMER
        </c:if>
    </body>
</html>
